using System;
using System.Xml.Serialization;
using System.Collections.Generic;

namespace Aop.Api.Domain
{
    /// <summary>
    /// KoubeiAdvertDeliveryDiscountReceiveModel Data Structure.
    /// </summary>
    [Serializable]
    public class KoubeiAdvertDeliveryDiscountReceiveModel : AopObject
    {
        /// <summary>
        /// 渠道信息，比如微博:weibo，具体值需要找对应业务申请
        /// </summary>
        [XmlElement("channel")]
        public string Channel { get; set; }

        /// <summary>
        /// 获取的优惠id
        /// </summary>
        [XmlArray("discount_id")]
        [XmlArrayItem("string")]
        public List<string> DiscountId { get; set; }

        /// <summary>
        /// 优惠类型，ITEM:商品
        /// </summary>
        [XmlElement("discount_type")]
        public string DiscountType { get; set; }

        /// <summary>
        /// 外部流水号，用于标识此次请求
        /// </summary>
        [XmlElement("out_biz_no")]
        public string OutBizNo { get; set; }

        /// <summary>
        /// 支付宝用户id
        /// </summary>
        [XmlElement("user_id")]
        public string UserId { get; set; }
    }
}
